package MOLE.Pay;

import MOLE.*;

/** 
 Log ��ժҪ˵����
*/
public class Log
{
	public Log()
	{
		//
		// TODO: �ڴ˴���ӹ��캯���߼�
		//
	}

	public static void Add(String msg)
	{
		String s = System.Web.HttpContext.Current.Server.MapPath("/");
		s = s + "_log/log.txt";
		String path = s;



		String str = "--------------------\r\n";
		str += " TIME:" + java.time.LocalDateTime.now().toString() + "\r\n";
		 str += msg;
		str += "\r\n--------------------\r\n";


		MOLE.file.write(path, str);


	}

}